//
//  BaseUser.h
//  Cunli
//
//  Created by ZhanyaaLi on 15/12/29.
//  Copyright © 2015年 lilubin. All rights reserved.
//
/**
 *  存储执行登陆动作时获取到的用户信息
 */

#import <Foundation/Foundation.h>
#import "YYModel.h"

@interface BaseUser : NSObject

@property NSString *areaids;            //地区id
@property NSString *areaname;           //村名
@property NSString *completed;          //资料是否完善
@property NSString *groupid;            //组id

/*
 *邀请字典数据
 ＊
 invit = {
    "is_invint" = 0;
    "noselect_areaid" = "";
 };
 */
@property NSDictionary *invit;          //邀请数据字典
@property NSString *is_banned;          //是否被屏蔽
@property NSString *is_has_intro;       //本村介绍是否被设置
@property NSString *join_area;          //暂时没有涉及到
@property NSString *logintimes;         //登录次数

/**
 *  用户权限
 power = {
    own = "1,2,3,4,5,6,7,8,10";
 };
 */
@property NSDictionary *power;          //用户权限
@property NSString *truename;           //真实姓名
@property NSString *userid;             //用户id
@property NSString *username;           //用户名（手机号）
@property NSString *usersession;        //签名session

@property NSString *huanxin_password;   //环信密码
@property NSString *huanxin_username;   //环信用户名
@end
